package com.hnx.admin.aurora.system.domain.convert;

import com.hnx.admin.aurora.system.domain.dto.post.entity.SysPostDTO;
import com.hnx.admin.aurora.system.domain.vo.post.entity.SysPostVO;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;

import java.util.List;

@Mapper(componentModel = "spring",unmappedSourcePolicy = ReportingPolicy.IGNORE)
public interface PostConvert {
    List<SysPostVO> toVOList(List<SysPostDTO> list);

}
